package com.fasc.open.api.enums.signtask;

/**
 * @author Fadada
 * 2021/9/23 11:12:22
 */
public enum SignActorStatusEnum {
    /**
     * 签署方状态：
     * no_send: 未投递  (尚未发送给本签署方)
     * to_accept: 待接收  (正在等待本签署方接收)
     * accepted: 已接收  (已被本签署方已接收)
     * to_sign: 待签署  (等待本签署方签署)
     * signed: 已签署  (本签署方已完成签署)
     * rejected: 已拒签  (本签署方拒绝了签署)
     * blocked: 阻塞中  (本签署方被阻塞)
     */
    NO_SEND("no_send", "未投递"),
    TO_ACCEPT("to_accept", "待接收"),
    ACCEPTED("accepted", "已接收"),
    TO_SIGN("to_sign", "待签署"),
    SIGNED("signed", "已签署"),
    REJECTED("rejected", "已拒签"),
    BLOCKED("blocked", "阻塞中");

    private String code;
    private String remark;

    SignActorStatusEnum(String code, String remark) {
        this.code = code;
        this.remark = remark;
    }

    public String getCode() {
        return code;
    }

    public String getRemark() {
        return remark;
    }
}
